<?php

// 调用  php index.php Web/Test/execute 1 2

namespace App\Web\Cron;

class Test extends \Lib\Cron
{
    function __construct()
    {
        $this->before();
    }

    /**
     * php index.php Test/execute a b
     */
    public function execute($v1 = '', $v2 = '')
    {
        echo $v1;
        echo PHP_EOL;
        echo $v2;
        echo PHP_EOL;
    }

    function __destruct()
    {
        $this->after();
    }
}